var sington_barOption=function(temp,chartData){

	var name = temp.name;
	var val = temp.val;
	var xValue=[name];
	var yValue =[val];
	for ( var t in chartData) {
		xValue.push(t);
		yValue.push(chartData[t]);
	}

	return {
		    title : {
//		        text: head,				//主标题
//		        subtext: subhead		//副标题
		    },
		    tooltip : {
		        trigger: 'axis'
		    },
		    legend: {
		        data:[name]	//x轴统计字段名称
		    },
		    toolbox: {
		        show : true,
		        feature : {
		            mark : {show: false},
		            dataView : {show: false, readOnly: false},
		            magicType : {show: true, type: ['line', 'bar']},
		            restore : {show: false},
		            saveAsImage : {show: true}
		        }
		    },
		    calculable : false,
		    xAxis : [
		        {
		            type : 'category',
		            data : xValue				//x轴的值
		        }
		    ],
		    yAxis : [
		        {
		            type : 'value'
		        }
		    ],
		    series : [
						{
							name:name,
							type:'bar',
							data:yValue
						}
		              ],
		    noDataLoadingOption:{
            	text :"暂无数据",
            	    effect : 'bubble',
            	    effectOption:{
            	    	backgroundColor:"#fff",
            	    	effect:{
            	    		n:0
            	    	}
            	    },
            	    textStyle : {
            	        fontSize : 20
            	    }
            }
		};
	
	
	
	
}